package com.example.service;

import com.example.model.dtos.PageResult;
import com.example.model.pojo.Materials;
import com.example.model.pojo.Warehouse;
import com.example.model.vo.MaterialsVo;

import java.util.List;

public interface MaterialsService {
    Boolean addMaterials(Materials materials);

    Boolean deleteMaterials(String id);

    Boolean updateMaterials(Materials materials);

    PageResult materialsList(Integer page, Integer pageSize);

    List<Materials> getAll();

    List<MaterialsVo> getAllVo();

    List<Warehouse> getWarehouse();


    Boolean updateWarehouseList(List<Warehouse> warehouseList);
}
